package org.recursed.simpleweather.forecast;

import java.util.Date;

public class TimeLayoutBand {

	private Date start;
	private Date end;
	
	public TimeLayoutBand(Date start) {
		this.start = start;
		this.end = start;
	}
	
	public Date getStart() {
		return this.start;
	}
	
	public Date getEnd() {
		return this.end;
	}
	
	public boolean isPointInTime(){
		if (start.equals(end)) {
			return true;
		} else {
			return false;
		}
	}
	
	public void setEndDate(Date end) {
		this.end = end;
	}

}
